﻿namespace Repositories.Repository
{
    public class RepositoryFactory:IRepositoryFactory
    {
        #region Implementation of IRepositoryFactory

        public IDistrictRepository GetDistrictRepository()
        {
            return new DistrictRepository();
        }

        public ISectorRepository GetSectorRepository()
        {
            return new SectorRepository();
        }

        public IDogovorRepository GetDogovorRepository()
        {
            return new DogovorRepository();
        }

        public IHistoryAbonentPayRepository GetHistoryAbonentPayRepository()
        {
            return new HistoryAbonentPayRepository();
        }

        public IDogovorExtraInfoRepository GetDogovorExtraInfoRepository()
        {
            return new DogovorExtraInfoRepository();
        }

        public IHistoryCommonReceiptsDataRepository GetHistoryCommonReceiptsDataRepository()
        {
            return new HistoryCommonReceiptsDataRepository();
        }

        public IPeopleRepository GetPeopleRepository()
        {
            return new PeopleRepository();
        }

        #endregion
    }
}